Robotic-assisted needle localization